<?php
/**
 * Created by litong on Date: 2018/12/26 0026 上午 11:09
 */
$str="litong";

function hello(){
  global $str;
  echo $str;
}
hello();
?>